package com.medical.manage.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.medical.common.core.annotation.Excel;
import com.medical.common.core.web.domain.BaseEntity;

/**
 * 诊断管理对象 diagnostic_record
 *
 * @author medical
 * @date 2024-07-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DiagnosticRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long diagnoseId;

    /** 患者id */
    @Excel(name = "患者id")
    private Long patientId;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 病情描述 */
    @Excel(name = "病情描述")
    private String diagnoseDiseaseDescription;

    /** 诊断结果 */
    @Excel(name = "诊断结果")
    private String diagnoseDiagnosis;

    /** 诊断时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "诊断时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date diagnoseTime;

    /** 诊断金额 */
    @Excel(name = "诊断金额")
    private BigDecimal diagnosePrice;

    public void setDiagnoseId(Long diagnoseId)
    {
        this.diagnoseId = diagnoseId;
    }

    public Long getDiagnoseId()
    {
        return diagnoseId;
    }
    public void setPatientId(Long patientId)
    {
        this.patientId = patientId;
    }

    public Long getPatientId()
    {
        return patientId;
    }
    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }
    public void setDiagnoseDiseaseDescription(String diagnoseDiseaseDescription)
    {
        this.diagnoseDiseaseDescription = diagnoseDiseaseDescription;
    }

    public String getDiagnoseDiseaseDescription()
    {
        return diagnoseDiseaseDescription;
    }
    public void setDiagnoseDiagnosis(String diagnoseDiagnosis)
    {
        this.diagnoseDiagnosis = diagnoseDiagnosis;
    }

    public String getDiagnoseDiagnosis()
    {
        return diagnoseDiagnosis;
    }
    public void setDiagnoseTime(Date diagnoseTime)
    {
        this.diagnoseTime = diagnoseTime;
    }

    public Date getDiagnoseTime()
    {
        return diagnoseTime;
    }
    public void setDiagnosePrice(BigDecimal diagnosePrice)
    {
        this.diagnosePrice = diagnosePrice;
    }

    public BigDecimal getDiagnosePrice()
    {
        return diagnosePrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("diagnoseId", getDiagnoseId())
            .append("patientId", getPatientId())
            .append("doctorId", getDoctorId())
            .append("diagnoseDiseaseDescription", getDiagnoseDiseaseDescription())
            .append("diagnoseDiagnosis", getDiagnoseDiagnosis())
            .append("diagnoseTime", getDiagnoseTime())
            .append("diagnosePrice", getDiagnosePrice())
            .toString();
    }
}
